class RenameWebSpecDescriptionToStory < ActiveRecord::Migration
  def self.up
    add_column :web_specs, :story, :text
    WebSpec.update_all 'story = description'
    remove_column :web_specs, :description
    WebSpec.reset_column_information
  end

  def self.down
    add_column :web_specs, :description, :text
    WebSpec.update_all 'description = story'
    remove_column :web_specs, :story
    WebSpec.reset_column_information
  end
end
